export const getDate= function(num=0){
		//num=0 代表今天，1表示前一天，2表示后一天
		var time=(new Date).getTime()-24*60*60*1000*num;
		var yesterday=new Date(time);
		var month=yesterday.getMonth();
		var day=yesterday.getDate();
		var hour=yesterday.getHours();
		var miunte=yesterday.getMinutes();
		yesterday=yesterday.getFullYear() + "年" + (yesterday.getMonth()> 9 ? (yesterday.getMonth() + 1) : "0" + (yesterday.getMonth() + 1)) + "月" +(yesterday.getDate()> 9 ? (yesterday.getDate()) : "0" + (yesterday.getDate()))+ "日 " +hour+":" +miunte;
		 return yesterday

}